<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
	<link rel="stylesheet" type="text/css" href="/css/modal.css">
	<script src="/font/modal.js"></script>
</head>
<body>
 <div class="container">
     <div>
         <button class="toggleModal" id="toggleModal">触发遮罩层</button>
     </div>
     <div class="modal">
         <div class="modal-header">
             <p class="title">这是弹出层的标题</p>
             <p class="close">×</p>
         </div>
         <div class="modal-content">

         </div>
         <div class="modal-footer">
             <button class="close btn">关闭</button>
         </div>
     </div>
     <div class="mask"></div>
 </div>
</body>
</html>